package cn.detu.ln.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("warning")
@Data
public class Warning {
    // 主键自增策略
    @TableId(value = "warning_id",type = IdType.AUTO)
    // id
    private Integer warningId;
    // 学号
    private Long stuNum;
    private Integer couId;
    private String couName;
    private Integer week;
    private String publisher;
    // 手机号
    @TableLogic
    private Integer isDelete;
}
